package com.ruoyi.mateInventory.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;


import java.util.Date;
import java.util.List;

/**
 * @Author
 * @Version 1.0
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MateInventory extends BaseEntity {
    private String beginTime;
    private String endTime;
    private Long num;
    private String inventoryNum;
    private Long inventoryId;
    private Long deptId;
    private Long mateproductId;
    private String mateProductName;
    private String mateCategory;
    private Long materialId;//生产商id
    private String materialName;//生产商名称
    private String mateProductType;
    private String mateStoredepict;
    private String inventoryStatus;
    private Long auditId;
    private String auditName;
    private String isPlan;//是否已经生产采购计划
    private List<MateInventoryModel> mateInventoryModels;

    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;

    @Excel(name = "审批人选择的时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date qzTime;

    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date purchaseTime;

    public Date getPurchaseTime() {
        return purchaseTime;
    }

    public void setPurchaseTime(Date purchaseTime) {
        this.purchaseTime = purchaseTime;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Date getQzTime() {
        return qzTime;
    }

    public void setQzTime(Date qzTime) {
        this.qzTime = qzTime;
    }

    public List<MateInventoryModel> getMateInventoryModels() {
        return mateInventoryModels;
    }

    public void setMateInventoryModels(List<MateInventoryModel> mateInventoryModels) {
        this.mateInventoryModels = mateInventoryModels;
    }

    public String getIsPlan() {
        return isPlan;
    }

    public void setIsPlan(String isPlan) {
        this.isPlan = isPlan;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getInventoryNum() {
        return inventoryNum;
    }

    public void setInventoryNum(String inventoryNum) {
        this.inventoryNum = inventoryNum;
    }

    public String getMateStoredepict() {
        return mateStoredepict;
    }

    public void setMateStoredepict(String mateStoredepict) {
        this.mateStoredepict = mateStoredepict;
    }

    public String getInventoryStatus() {
        return inventoryStatus;
    }

    public void setInventoryStatus(String inventoryStatus) {
        this.inventoryStatus = inventoryStatus;
    }


    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Long getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Long inventoryId) {
        this.inventoryId = inventoryId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getMateproductId() {
        return mateproductId;
    }

    public void setMateproductId(Long mateproductId) {
        this.mateproductId = mateproductId;
    }

    public String getMateProductName() {
        return mateProductName;
    }

    public void setMateProductName(String mateProductName) {
        this.mateProductName = mateProductName;
    }

    public String getMateCategory() {
        return mateCategory;
    }

    public void setMateCategory(String mateCategory) {
        this.mateCategory = mateCategory;
    }

    public Long getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public String getMateProductType() {
        return mateProductType;
    }

    public void setMateProductType(String mateProductType) {
        this.mateProductType = mateProductType;
    }

    public Long getAuditId() {
        return auditId;
    }

    public void setAuditId(Long auditId) {
        this.auditId = auditId;
    }
}
